package com.weibo4j.api.req.relation;

import com.weibo4j.api.WeiboRequest;
import com.weibo4j.api.annotation.Param;
import com.weibo4j.api.response.user.UserGetResponse;
import com.weibo4j.api.util.RequestType;

public class FriendShipDestoryRequest extends WeiboRequest<UserGetResponse> {

    private Long    uid;

    private String  screenName;

    public Long getUid() {
        return uid;
    }

    public void setUid(Long uid) {
        this.uid = uid;
    }

    @Param("screen_name")
    public String getScreenName() {
        return screenName;
    }

    public void setScreenName(String screenName) {
        this.screenName = screenName;
    }

    @Override
    public RequestType requestType() {
        return RequestType.POST;
    }

    @Override
    public String baseUrl() {
        return "https://api.weibo.com/2/friendships/destroy.json";
    }

    @Override
    protected Class<UserGetResponse> responseType() {
        return UserGetResponse.class;
    }

}
